package com.woniuxy.homepage.core.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author gmx
 * @since 2021-07-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("car_goods_activity")
@ApiModel(value="CarGoodsActivity对象", description="")
public class CarGoodsActivity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "参加活动商品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "参加活动的商品数量")
    private Integer total;

    @ApiModelProperty(value = "活动开始时间")
    private Date startTime;

    @ApiModelProperty(value = "活动结束时间")
    private Date endTime;

    @ApiModelProperty(value = "0:未开始 1:进行中 2:已结束")
    private Integer status;

    @ApiModelProperty(value = "参与人数")
    private Integer coutn;


}
